@charset "utf-8";
@import "utils";
html,
body {  
    max-width: 420px;
    margin: 0 auto;
}
html{
    background: #EEEEEE;
}
body{
    background: white;
    font-size: 16px; 
}

//所有input的共同设置
input[type]{
    font-size: r(30) !important;
    color: #262626 !important;
}

//footer底部激活
.active_ {
    background: #f19272;
}
//动画
.ani_{
    content: "";
    display: block;
    position: absolute;
    width: 1px;
    height: 1px;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(248, 209, 195, 1), rgba(0, 0, 0, 0));
    transition: all .5s;
}
//头部菜单动画
.menuIcon{
        img{
            transition: opacity .3s; 
        }
    }
.mainMenu {
    position: absolute;
    top: 0;
    right: 0;
    width: r(450);
    z-index: 103;
    overflow: hidden;
    background: rgba(240, 240, 240, .8);
    //  background: url(../img/index/images/mainMenu_bg_02.jpg) no-repeat top left/100% 100%;
    transform: translate(100%, 0);
    transform-origin: right;
    letter-spacing: r(3);
    .blur {
        z-index: -1;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        //      background: rgba(220,220,220,.9);
        background: url(../img/index/images/mainMenu_bg_02.jpg) no-repeat top left/100% 100%;
        -webkit-filter: blur(35px);
        -moz-filter: blur(35px);
        -ms-filter: blur(35px);
        -o-filter: blur(35px);
        filter: blur(35px);
        opacity: .95;
    }
    .close {
        position: absolute;
        right: r(20);
        top: r(25);
        width: r(45);
        img {
            width: 100%;
        }
    }
    
    &>ul {
        overflow: hidden;
        width: 100%;
        margin-top: r(180);
        text-align: center;
        li {
            letter-spacing: r(3);
            display: inline-block;
            width: r(325);
            height: r(86);
            line-height: r(86);
            border-radius: r(43);
            color: #727272;
            font-size: r(30);
            margin-top: r(60);
            &:hover {
                background: #f9f9f5;
            }
        }
    }
}

//第一种头部，中间搜索
.indexHeader {
    overflow: hidden;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 2.9%;
    width: 94.2%;
    height: r(100);
    border-bottom: 1px solid #b9bab9;
    background: white;
    ul {
        height: 100%;
        font-size: 0;
        li {
            height: 100%;
            position: relative;
        }
        li:first-of-type {
            float: left;
            img {
                height: r(54);
                @include middle;
            }
        }
        li:nth-of-type(2) {
            float: right;
            width: 10%;
            position: absolute;
            z-index: 104;
            right: 0;
            img {
                z-index: 10001;
                width: r(44);
                @include middle;
                right: 0;
            }
            .count {
                color: white;
                font-size: r(16);
                text-align: center;
                position: absolute;
                z-index: 2;
                top: 26%;
                left: r(-2);
                width: r(26);
                height: r(26);
                line-height: r(26);
                border-radius: 50%;
                background: #d36949;
                box-shadow: r(1) r(3) r(3) #bbbbbb;
            }
        }
        li:last-of-type {
            width: 80%;
            margin: 0 auto;
            >div {
                width: 50%;
//              height: r(40);
//              line-height: r(40);
                @include middle;
                left: 50%;
                transform: translate(-50%, -50%);
                padding: r(5) r(20);
                border: 1px solid #ececec;
                border-radius: r(25);
                .searchImg {
                    vertical-align: middle;
                    display: inline-block;
                    width: 10%;
                    height: 100%;
                    text-align: left;
                }
                img {
                    width: 70%;
                    vertical-align: middle;
                }
                input {
                    vertical-align: middle;
                    color: #acacac;
                    font-size: r(20+8);
                    margin-left: 3%;
                    width: 82%;
                    border: none;
                    outline: none;
                    background: transparent;
                    height: r(32);
                    line-height: r(32);
                    vertical-align: middle;
                }
            }
        }
    }
}

.indexFooter {
    position: absolute;
    z-index: 100;
    bottom: 0;
    left: 0;
    width: 100%;
    height: r(120);
    background: #fff4f0;
    border-top: 2px solid #efdbd5;
    overflow: hidden;
    ul {
        height: 100%;
        font-size: 0;
        li {
            cursor: pointer;
            display: inline-block;
            height: 100%;
            width: 25%;
            position: relative;
            border-right: 1px solid #fad8d0;
            box-sizing: border-box;
            img {
                height: 42%;
                @include abCenter;
            }
        }
        li:last-of-type {
            border: none;
        }
    }
}

//第二种头部，logo在中间
.Pending_Header {
    height: r(100);
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    &>ul {
        text-align: center;
        border-bottom: 1px solid #b9bab9;
        width: 94.2%;
        height: 100%;
        margin: 0 auto;
        font-size: 0;
        overflow: hidden;
        &>li {
            height: 100%;
            position: relative;
            display: inline-block;
            vertical-align: middle;
        }
        .backArr {
            width: 10.5%;
            text-align: left;
            img {
                width: 100%;
                @include middle;
            }
        }
        .logo {
            width: 75%;
            img {
                height: r(54);
                @include abCenter;
            }
        }
        .menuIcon {
            float: right;
            width: 10%;
            margin-right: r(10);
            img {
                width: r(44);
                @include middle;
                right: 0;
            }
            .count {
                color: white;
                font-size: r(16+8);
                text-align: center;
                position: absolute;
                z-index: 2;
                top: 26%;
                left: r(-5);
                width: r(26);
                height: r(26);
                line-height: r(26);
                border-radius: 50%;
                background: #d36949;
                box-shadow: r(1) r(3) r(3) #bbbbbb;
            }
        }
    }
} //第三种头部，返回箭头
.backHeader {
    width: 100%;
    height: r(100);
    background: #FFFFFF;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    .cephalo {
        width: 94%;
        height: 100%;
        margin: 0 auto;
        //      text-align: center;
        border-bottom: 1px solid #b9bab9;
        font-size: 0;
        .img_jiantou {
            overflow: hidden;
            position: relative;
            display: inline-block;
            height: r(100);
            line-height: r(100);
            width: 15%;
            float: left;
            padding-left: r(10);
            box-sizing: border-box;
            img {
                display: inline-block;
                width: 70%;
                vertical-align: middle;
            }
        }
        .fav_name {
            display: inline-block;
            text-align: center;
            width: 70%;
            height: r(100);
            line-height: r(110);
            overflow: hidden;
            font-size: r(30+8);
            letter-spacing: r(7);
            color: #000000;
            text-align: center;
            p{
                font-size: r(30+8);
            }
        }
        .guanl {
            width: 15%;
            text-align: left;
            display: inline-block;
            height: r(100);
            line-height: r(110);
            overflow: hidden;
            font-size: r(22+8);
            color: #E39D88;
            letter-spacing: r(14);
            a{
                font-size: r(22+8);
            }
        }
    }
}

//点击波纹
[data-ripple="ripple"] {
    position: relative;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-webkit-user-select: none;
    -ms-user-select: none;
}

[data-ripple="ripple"] .ripple {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 888;
    background: rgba(255, 255, 255, .5);
    transform: scale(0);
    animation: ripple .6s 0s linear;
}

@keyframes ripple {
    100% {
        opacity: 0;
        transform: scale(2.5);
    }
}